package cn.piaoyi.bean;

import java.io.*;

public class Cart implements Serializable {
	private static final long serialVersionUID = 3938860373226088110L;
	
	private long id;			//主键ID
	private long userId;		//用户ID
	private long goodsId;		//商品ID
	private long dailyId;		//场次ID
	private long priceId;		//价格ID
	private int goodsNumber;	//商品数量
	
	private Goods goods;
	private Daily daily;
	private Price price;
	private int totalPrice;		//总价格
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getUserId() {
		return userId;
	}
	public void setUserId(long userId) {
		this.userId = userId;
	}
	public long getGoodsId() {
		return goodsId;
	}
	public void setGoodsId(long goodsId) {
		this.goodsId = goodsId;
	}
	public long getDailyId() {
		return dailyId;
	}
	public void setDailyId(long dailyId) {
		this.dailyId = dailyId;
	}
	public long getPriceId() {
		return priceId;
	}
	public void setPriceId(long priceId) {
		this.priceId = priceId;
	}
	public int getGoodsNumber() {
		return goodsNumber;
	}
	public void setGoodsNumber(int goodsNumber) {
		this.goodsNumber = goodsNumber;
	}
	
	
	public Goods getGoods() {
		return goods;
	}
	public void setGoods(Goods goods) {
		this.goods = goods;
	}
	public Daily getDaily() {
		return daily;
	}
	public void setDaily(Daily daily) {
		this.daily = daily;
	}
	public Price getPrice() {
		return price;
	}
	public void setPrice(Price price) {
		this.price = price;
	}
	public int getTotalPrice() {
		return totalPrice;
	}
	public void setTotalPrice(int totalPrice) {
		this.totalPrice = totalPrice;
	}
}
